<template>
  <div class="index">
    <iframe src="/static/demo/设备详情.html"></iframe>
  </div>
</template>

<script>
export default {
  name: "Index",
};
</script>

<style lang="scss" scoped>
.index {
    position: relative; 
    width: 100%; 
    padding-top: calc(100% * 750 / 1280); 
    border: 2px black solid;
}


iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
</style>
